/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.itsc.dswII.dao;

import java.util.List;
import javax.ejb.Local;
import mx.itsc.dswII.model.Interes;

/**
 *
 * @author Lenovo-user
 */
@Local
public interface InteresDaoLocal {

    void create(Interes interes);

    void edit(Interes interes);

    void remove(Interes interes);

    Interes find(Object id);

    List<Interes> findAll();

    List<Interes> findRange(int[] range);

    int count();

    boolean findDuplicity(Interes interes);

    public java.util.List<mx.itsc.dswII.model.Interes> findByInteres(mx.itsc.dswII.model.Interes interes);
    
}
